﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace CP_SchoolForChildren_v0._1.Models.RelatedModel
{
    public class QAModel
    {
       
        public int QuestionID { get; set; }
        public int UserID { get; set; }
        public string UserName { get; set; }
        public string QuestionContent { get; set; }
        public string QuestionTitle { get; set; }
        public System.DateTime CreatedTime { get; set; }
        [UIHint("ProfileImage")]
        public string AvatarURL { get; set; }
    }

    public class QuestionDetail
    {
        public int QuestionID { get; set; }
        public int UserIDQuestion { get; set; }
        public string QuestionTitle { get; set; }
        public string UserName { get; set; }
        public string QuestionContent { get; set; }
        public System.DateTime CreatedTime { get; set; }
        public int UserIDAnswer { get; set; }
        public string UserNameAnswer { get; set; }
        public string AnswerContent { get; set; }
        public System.DateTime AnsewerCreatedTime { get; set; }
    }
}